//此文件放公共的样式   尽量不要放通配符
@import '~antd/dist/antd.less';

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body,
html {
	width: 100%;
	height: 100%;
}
#root {
	width: 100%;
	height: auto;
}

a{
text-decoration: none;
}
.container{
  width: 100%;
  height: 100%;
//   background-color: @bg_color;
//   overflow: auto;
}
.content{
	width: 100%;
	height: 100%;

}


a {
	text-decoration: none;
}

.container {
	width: 100%;
	height: 100%;
}

.content {
	width: 100%;
	background-color: var(--bg-color)
}

.wrapper {
	//默认移动端样式
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	padding-left: 5%;
	background-color: var(--bg-color)
}



.card {
	//右侧推荐阅读以及文章标签
	width: 25%;
	height: auto;
	position: fixed;
	right: 4%;
	top: 15%;
    display: none;
	.ant-card.tags {
		.ant-card-body {
			p {
				display: inline-block;
				width: auto;
				border: 1px solid rgb(235, 234, 234);
				padding: 5px;
				margin: 3px 6px;
				
			}

			p:hover {
				border: 1px solid rgb(246, 61, 120);
			}
		}

	}

	.ant-card.types {
		.ant-card-body {
			p {
				display: flex;
				justify-content: space-between;
				width: auto;
				padding: 5px;
				margin: 3px 6px;
			}

			p:hover {
				color: rgb(246, 61, 120);
			}
		}

	}
   .ant-card-head{
	  height: 40px !important;
	 
   }
   .ant-card-body{
	cursor: pointer;
	user-select: none;
  line-height: 1;
  p:hover{
   color: rgb(246, 61, 120);
  }
 
}

}

.shareWarpper{
	width: 5%;
	position: fixed;
	background-color: #fff;
	top: 30%;
	left:0;
	display: none;
	padding: 5px;
}


@media screen and (min-width: 768px) {

	//屏幕宽度大于768px的时候wrapper宽度为768px
	.wrapper {
		width: 768px;
		overflow: hidden;

	}
	.card{
		display: block;
		width: 25%;
		
	}
	.shareWarpper{
		display: block;
	}

}


//pc端样式
@media screen and(min-width:992px) {//屏幕宽度大于992px的时候wrapper宽度为1140px
	.wrapper{
		width: 1140px;
		
	}
	.card{
		display: block;
		width: 25%;

	}
	.shareWarpper{
		display: block;
	}

	
	
}


@keyframes example1 {
	0% {
		transform: translate(-60px);
		opacity: 0;
	}

	50% {
		transform: translate(-30px);
		opacity: .5;
	}

	100% {
		transform: translate(0);
		opacity: 1;
	}
}
